package com.lzh.edu;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;

/**
 * @author lzhstart
 * @create 2021/4/20 22:34
 */
@SpringBootApplication
@ComponentScan("com.lzh")
@EnableDiscoveryClient //服务注册 nacos
@EnableFeignClients //服务调用 feign
public class EduServiceApplication {
    public static void main(String[] args) {
        SpringApplication.run(EduServiceApplication.class,args);
    }
}
